package cn.nohan.funplay.module.member.mongo.service.notify.message;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.mongoplus.annotation.collection.CollectionField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.codecs.pojo.annotations.BsonDiscriminator;

/**
 * @author caozhipeng
 * @date 2025/8/13
 * 公用通知
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CommonMessage implements Message {

    @CollectionField("title")
    private String title;
    @CollectionField("content")
    private String content;

    @CollectionField("classType")
    @JsonIgnore
    private String classType=this.getClass().getTypeName();


}
